package com.mes.cloud.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 产品价格组-产品关联
 * 
 * @author wxm
 * @email xiaomin.wu1@pactera.com
 * @version 2019-09-24 16:08:41
 */
@Data
@Table(name = "product_price_group_product")
public class ProductPriceGroupProduct implements Serializable {
    private static final long serialVersionUID=1L;
   /**
    * 主键
    */
	@Id
	private String id;
   /**
    * 产品价格组ID
    */
	@Column(name = "product_price_group_id")
	private String productPriceGroupId;
   /**
    * 产品ID
    */
	@Column(name = "product_id")
	private String productId;
   /**
    * 标准价格
    */
	@Column(name = "standard_price")
	private BigDecimal standardPrice;
   /**
    * 标准进货价格
    */
	@Column(name = "standard_purchase_price")
	private BigDecimal standardPurchasePrice;
   /**
    * 标准出货价格
    */
	@Column(name = "standard_sell_price")
	private BigDecimal standardSellPrice;

	/**
	 * 有效开始时间
	 */
	@Column(name = "effective_start_date")
	private Date effectiveStartDate;

	/**
	 * 有效结束时间
	 */
	@Column(name = "effective_end_date")
	private Date effectiveEndDate;
	/**
	 * 同步唯一标识
	 */
	@Column(name = "knumh")
	private String knumh;
	/**
	 * 数据来源
	 */
	@Column(name = "source")
	private String source;
   /**
    * 状态(0：禁用，1：启用)
    */
	@Column(name = "enable_flag")
	private String enableFlag;
   /**
    * 创建人
    */
	@Column(name = "create_by")
	private String createBy;
   /**
    * 创建时间
    */
	@Column(name = "create_time")
	private Date createTime;
   /**
    * 修改人
    */
	@Column(name = "update_by")
	private String updateBy;
   /**
    * 修改时间
    */
	@Column(name = "update_time")
	private Date updateTime;
   /**
    * 删除标记，1：删除，0：未删除
    */
	@Column(name = "del_flag")
	private String delFlag;
   /**
    * 更新日期
    */
	@Column(name = "update_date_str")
	private String updateDateStr;
   /**
    * 版本
    */
	@Column(name = "version")
	private Integer version;
	@Column(name = "create_by_no")
	private String createByNo;

	@Column(name = "update_by_no")
	private String updateByNo;
}
